<template>
    <div class="content">
        <div class="top"></div>
        <div class="header">
            <div class="header-bg">
                <div class="h-title"></div>
            </div>
            <div class="card-top" style="margin-top:.5rem">
                <img class="card-top-img" :src="require('@/assets/img/mj2.png')" alt="">
                <span class="times">9月18日</span>
                <div class="card-top-btn">
                    打印到表格
                </div>

            </div>
            <div class="card-top" style="margin-top:.5rem">
                <img class="card-top-img" :src="require('@/assets/img/mj1.png')" alt="">
                <span class="times">上午8点半报道</span>
                <div class="card-top-btn">
                    修改报道时间
                </div>

            </div>
        </div>
        <div class="card3">

            <div class="card3-bg">
                <div>
                    <div class="card3-btn">
                        第1期
                    </div>
                    <div class="card3-btn">
                        第1期
                    </div>
                    <div class="card3-btn">
                        第1期
                    </div>
                    <div class="card3-btn">
                        第1期
                    </div>
                </div>
                <div class="card3-top" v-for="(item, index) in 8" :key="index">
                    <div class="card3-zhuo">
                        第{{ index + 1 }}桌
                    </div>
                    <img class="card3-zhuo1 majiang-icon" :src="require('@/assets/img/mj5.png')" alt="">

                    <img class="card3-zhuo2 majiang-icon" :src="require('@/assets/img/mj6.png')" alt="">

                    <img class="card3-zhuo3 majiang-icon" :src="require('@/assets/img/mj7.png')" alt="">
                    <img class="card3-zhuo4 majiang-icon" :src="require('@/assets/img/mj8.png')" alt="">

                </div>
            </div>
            <div>
                <div class="card3-btn1">
                    B端订座
                </div>
                <div class="card3-btn1">
                    取消订座
                </div>
                <div class="card3-btn1">
                    发布
                </div>
            </div>
        </div>

    </div>
</template>
  
<script>
export default {
    data() {
        return {
            icon8: "require('@/assets/img/mj3.png')",
            icon9: "require('@/assets/img/mj4.png')",
            icon10: "require('@/assets/img/mj5.png')",
            icon11: "require('@/assets/img/mj6.png')",
            icon12: "require('@/assets/img/mj7.png')",
            icon13: "require('@/assets/img/mj8.png')",
        };
    },

    methods: {

    },
};
</script>
  
<style scoped>
.content {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    background-color: #F4F3F8;
}

.top {
    width: 100%;
    height: 3rem;
    background: linear-gradient(to bottom, #93c9af, #F4F3F8);
}

.header {
    overflow: hidden;
    box-sizing: border-box;
    padding: .4rem;
    margin: -2.5rem auto 0;
    width: 90%;
    height: 4rem;
    background-color: #fff;
    border-radius: .4rem;
}

.header-bg {
    box-sizing: border-box;
    margin: 0 auto 0;
    width: 5.4625rem;
    height: .9rem;
    background: url('@/assets/img/plan.png') no-repeat;
    background-size: 100% 100%;
    font-size: .35rem;
    color: #000;
    text-align: center;
    font-weight: 600;
    line-height: 1.1rem;
}

.h-title {
    margin-left: .5rem;
}

.card-top-img {
    width: .3625rem;
    height: .3625rem;
}

.card-top {
    padding: 0 .4rem;
    margin-top: .3rem;
}

.card-top-btn {
    float: right;
    display: inline-block;
    width: 2.375rem;
    height: .675rem;
    background: #ddf0e6;
    border-radius: .225rem;
    color: #1E9858;
    text-align: center;
    line-height: .675rem;
}

.times {
    margin-left: .3rem;
    font-size: .35rem;
    font-weight: bold;
}

.card3-bg {
    margin: 0 auto;
    box-sizing: border-box;
    overflow-y: auto;
    width: 100%;
    height: 11.3875rem;
    background: url('@/assets/img/bg1.png') no-repeat;
    background-size: 100% 100%;
}

.card3-top {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 3.75rem;
}

.card3-zhuo {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 1.4875rem;
    height: 1.1875rem;
    text-align: center;
    line-height: .5625rem;
    transform: translate(-50%, -50%);
    background: url('@/assets/img/mjzhuo.png') no-repeat;
    background-size: 100% 100%;
    font-size: .25rem;
    font-weight: 600;
}

.card3 {
    padding: .1rem;
    margin: .3rem auto 0;
    width: 90%;
    background-color: #fff;
}

.card3-zhuo1 {
    position: absolute;
    top: .375rem;
    left: 1.675rem;
}

.card3-zhuo2 {
    position: absolute;
    top: 1.375rem;
    left: .375rem;
}

.card3-zhuo3 {
    position: absolute;
    bottom: .375rem;
    left: 1.675rem;
}

.card3-zhuo4 {
    position: absolute;
    top: 1.375rem;
    right: .375rem;
}

.majiang-icon {
    display: block;
    width: .75rem;
    height: .75rem;
}


.card3-btn {
    margin: .3rem 3.5% 0;
    display: inline-block;
    width: 25%;
    height: .6875rem;
    background-color: #1e9858;
    text-align: center;
    line-height: .6875rem;
    color: #fff;
    font-size: .4rem;
    border-radius: .4rem;
    border: 1px solid #f98c1c;
}

.card3-btn1 {
    margin: .3rem 3.5%;
    display: inline-block;
    width: 25%;
    height: .6875rem;
    background-color: #1e9858;
    text-align: center;
    line-height: .6875rem;
    color: #fff;
    font-size: .4rem;
    border-radius: .4rem;
}
</style>